import React from 'react';
import ReactEChartsCore from 'echarts-for-react/lib/core';
import * as echarts from 'echarts/core';
const ReactEcharts = (props: any) => {
  const { option } = props;
  return <ReactEChartsCore echarts={echarts} option={option} />;
};
export default ReactEcharts;
